package com.example.springboot.service;


import com.example.springboot.model.Email;
import com.github.pagehelper.Page;

import java.util.List;

public interface EmailService {
    Page<List<Email>> getListPage(Email customer, Integer pageNum, Integer pageSize);
    void sendEmail(Email email);
}
